package com.cg.dao;


import com.cg.entity.User;
import com.cg.vo.LoginUserVo;

/**
 * (User)表数据库访问层
 *
 * @author chengong
 * @since 2024-01-14 18:06:01
 */
public interface UserMapper {

    /**
     * 添加新用户
     */
    Integer createUser(User user);

    /**
     * 用户登录
     */
    LoginUserVo login(User user);
}

